﻿@model JT.Domain.TimeLine.Year

@{
    ViewData["Title"] = "添加年份";
}

    <div class="card mt-2">
      
        <div class="row">
            <div class="col-md-4">
                <form asp-action="Create">
                    <div asp-validation-summary="ModelOnly" class="text-danger"></div>
                    <div class="form-group">
                        <label asp-for="YearId" class="control-label"></label>
                        <input asp-for="YearId" class="form-control" />
                        <span asp-validation-for="YearId" class="text-danger"></span>
                    </div>
                    <div class="form-group">
                        <input type="submit" value="添加" class="btn btn-default" />
                    </div>
                </form>
            </div>
        </div>

        <div>
            <a asp-action="Index">返回</a>
        </div>
    </div>
@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
